package com.kin.rich.service;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;

import com.kin.rich.dao.CommonDAO;
import com.kin.rich.dao.CompanyDAO;
import com.kin.rich.dao.KeywordDAO;
import com.kin.rich.dao.ProjectDAO;
import com.kin.rich.dao.SearchdataDAO;
import com.kin.rich.dao.UserDAO;

public class AbstractSpider {


	protected KeywordDAO keywordDAO;
	protected ProjectDAO projectDAO;
	protected CompanyDAO companyDAO;
	protected SearchdataDAO srhDAO;
	protected CommonDAO commonDAO;
	protected UserDAO userDAO;
	protected SpiderHelper helper;

	protected static Logger log = Logger.getLogger(AbstractSpider.class.getName());
	
	public void init(){}
	
	
	public void setHelper(SpiderHelper helper) {
		this.helper = helper;
	}


	public void setKeywordDAO(KeywordDAO keywordDAO) {
		this.keywordDAO = keywordDAO;
	}


	public void setProjectDAO(ProjectDAO projectDAO) {
		this.projectDAO = projectDAO;
	}


	public void setCompanyDAO(CompanyDAO companyDAO) {
		this.companyDAO = companyDAO;
	}


	public void setSrhDAO(SearchdataDAO srhDAO) {
		this.srhDAO = srhDAO;
	}

	public void setCommonDAO(CommonDAO commonDAO) {
		this.commonDAO = commonDAO;
	}

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}

	public void search(){
		
	}
	

	
	
}
